package com.xgjweb.fsi.service;

import javax.servlet.http.HttpServletRequest;
import javax.servlet.http.HttpServletResponse;

import org.apache.struts.action.ActionForm;
import org.apache.struts.action.ActionMapping;

import com.xgjweb.fsi.domain.User;

public interface IUserService {
	/**
	 * 用户登录
	 */
	public User login(User user)throws Exception;
	/**
	 * 注册
	 */
	public String register(User user)throws Exception;
	/**
	 * 修改
	 */
	public String updateInfo(User user)throws Exception;
	
	/**
	 * 图片修改
	 */
	public void imageChange(ActionMapping mapping, ActionForm form,
			HttpServletRequest request, HttpServletResponse response)
			throws Exception ;
		
}
